package com.restaurant.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.restaurant.entity.Publish;
import com.restaurant.entity.ReservationForm;
import com.restaurant.mapper.PublishMapper;
import com.restaurant.mapper.ReservationFormMapper;
import com.restaurant.service.PublishService;
import com.restaurant.service.ReservationFormService;

@Service("publishService")
public class PublishServiceImpl implements PublishService{
		
		@Autowired
		private PublishMapper publishMapper;
	
		

	



	public PublishMapper getPublishMapper() {
			return publishMapper;
		}







		public void setPublishMapper(PublishMapper publishMapper) {
			this.publishMapper = publishMapper;
		}







	@Override
	public List<Publish> findMenu() {
		return publishMapper.findMenu();
	}







	@Override
	public List<Publish> checkMenuByweek(Integer week) {
		// TODO Auto-generated method stub
		return publishMapper.checkMenuByweek(week);
	}

}
